<?php
require_once "header_editor.php"; 
require_once "db.php"; 
require_once "forms.php"; 
?>

<form action="add_slide.post.php" method="POST">

<div class="c6 box_header">
Qual o titulo deste slide ?
</div>

<div class="c6">
<br/>
<?php
$f = new TextField();
$f->label = "";
$f->name = "title";
$f->html = "validate='required'";
$f->render();
?>
</div>

<div class="c6">
<br/><br/>
</div>

<div class="c6 box_header">
Qual o conteudo da pagina ?
</div>

<div class="c6">
<br/><br/>
</div>

<div class="c6">
<?php
$f = new TextArea();
$f->label = "";
$f->name = "content";
$f->html = "rows='10' cols='80' class='ckeditor'";
$f->render();
?>
</div>

<div class="c6">
<br/><br/>
</div>


<div class="c6">
<input type="submit" value="Salvar" class="gray_button" onclick="return validate();" />
</div>

</form>

<?php
require_once "footer.php";
?>
